<template>
	<view>
		<view class="content">
			<u-parse :content="content"></u-parse>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				content:""
			};
		},
		onShow() {
			this.getContent()
		},
		methods: {
			getContent(){
				this.$http.post('wanlshop/article/privacyAgreement').then(res => {
					res.code == 1 ? this.content = res.data.content : this.content = ""
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
 .content{
	 padding: 20rpx;
 }
</style>
